ARCHS=armv7 arm64
TARGET=iphone:7.1:6.0

include theos/makefiles/common.mk

TWEAK_NAME = AudioRecorder
AudioRecorder_FILES = Tweak.xm

#AudioRecorder_PRIVATE_FRAMEWORKS = AudioUnit #CoreTelephony

AudioRecorder_FRAMEWORKS = AudioToolBox UIKit CoreFoundation CoreTelephony CoreAudio
AudioRecorder_LDFLAGS = -lsubstrate

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 mediaserverd"
